home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / program / mcstr_32.zip / _MDIMSTR.FRM < prev    next >
Text File  |  1996-06-25  |  5KB  |  188 lines

  1. VERSION 4.00
  2. Begin VB.MDIForm mdiMCSTR 
  3.    AutoShowChildren=   0   'False
  4.    BackColor       =   &H00808080&
  5.    Caption         =   "MCSTRING 32-Bit DEMO"
  6.    ClientHeight    =   7335
  7.    ClientLeft      =   705
  8.    ClientTop       =   1245
  9.    ClientWidth     =   10410
  10.    Height          =   8025
  11.    Icon            =   "_MdiMSTR.frx":0000
  12.    Left            =   645
  13.    Top             =   615
  14.    Width           =   10530
  15.    Begin Threed.SSPanel SSPanel1 
  16.       Align           =   1  'Align Top
  17.       Height          =   465
  18.       Left            =   0
  19.       TabIndex        =   0
  20.       Top             =   0
  21.       Width           =   10410
  22.       _Version        =   65536
  23.       _ExtentX        =   18362
  24.       _ExtentY        =   820
  25.       _StockProps     =   15
  26.       BackColor       =   12632256
  27.       Begin VB.PictureBox Picture1 
  28.          AutoSize        =   -1  'True
  29.          Height          =   300
  30.          Left            =   11550
  31.          Picture         =   "_MdiMSTR.frx":030A
  32.          ScaleHeight     =   240
  33.          ScaleWidth      =   240
  34.          TabIndex        =   6
  35.          Top             =   75
  36.          Visible         =   0   'False
  37.          Width           =   300
  38.       End
  39.       Begin VB.ComboBox cmb_Group 
  40.          Height          =   315
  41.          Left            =   2250
  42.          TabIndex        =   2
  43.          Top             =   90
  44.          Width           =   4695
  45.       End
  46.       Begin VB.Label Label1 
  47.          Caption         =   "&Select a group of functions"
  48.          Height          =   255
  49.          Left            =   90
  50.          TabIndex        =   1
  51.          Top             =   120
  52.          Width           =   2085
  53.       End
  54.    End
  55.    Begin Threed.SSPanel SSPanel2 
  56.       Align           =   2  'Align Bottom
  57.       Height          =   420
  58.       Left            =   0
  59.       TabIndex        =   3
  60.       Top             =   6915
  61.       Width           =   10410
  62.       _Version        =   65536
  63.       _ExtentX        =   18362
  64.       _ExtentY        =   741
  65.       _StockProps     =   15
  66.       BackColor       =   12632256
  67.       Begin Threed.SSPanel pnl_Timer 
  68.          Height          =   240
  69.          Left            =   2970
  70.          TabIndex        =   5
  71.          Top             =   90
  72.          Width           =   825
  73.          _Version        =   65536
  74.          _ExtentX        =   1455
  75.          _ExtentY        =   423
  76.          _StockProps     =   15
  77.          BackColor       =   12632256
  78.       End
  79.       Begin Threed.SSPanel pnl_Version 
  80.          Height          =   240
  81.          Left            =   11340
  82.          TabIndex        =   8
  83.          Top             =   90
  84.          Width           =   510
  85.          _Version        =   65536
  86.          _ExtentX        =   900
  87.          _ExtentY        =   423
  88.          _StockProps     =   15
  89.          BackColor       =   12632256
  90.       End
  91.       Begin VB.Label Label4 
  92.          AutoSize        =   -1  'True
  93.          Height          =   195
  94.          Left            =   4935
  95.          TabIndex        =   9
  96.          Top             =   105
  97.          Width           =   45
  98.       End
  99.       Begin VB.Label Label3 
  100.          Alignment       =   1  'Right Justify
  101.          Caption         =   "MCSTR-32 version"
  102.          Height          =   225
  103.          Left            =   9765
  104.          TabIndex        =   7
  105.          Tag             =   "elapsed time for ~ iterations (in ms)"
  106.          Top             =   105
  107.          Width           =   1440
  108.       End
  109.       Begin VB.Label Label2 
  110.          Caption         =   "elapsed time for ? iterations (in ms)"
  111.          Height          =   225
  112.          Left            =   90
  113.          TabIndex        =   4
  114.          Tag             =   "elapsed time for ~ iterations (in ms)"
  115.          Top             =   90
  116.          Width           =   2805
  117.       End
  118.    End
  119.    Begin VB.Menu mnu_Exit 
  120.       Caption         =   "E&xit"
  121.    End
  122. End
  123. Attribute VB_Name = "mdiMCSTR"
  124. Attribute VB_Creatable = False
  125. Attribute VB_Exposed = False
  126. Option Explicit
  127.  
  128. Dim IsLoaded         As Integer
  129.  
  130.  
  131. Private Sub cmb_Group_Click()
  132.  
  133.    Dim Frm        As Form
  134.  
  135.    Select Case cmb_Group.ListIndex
  136.       Case 0:  Set Frm = frmString
  137.    End Select
  138.    
  139.    Load Frm
  140.    
  141. End Sub
  142.  
  143.  
  144.  
  145. Private Sub MDIForm_Load()
  146.  
  147.    Dim intResult     As Integer
  148.    
  149.    Me.WindowState = 2
  150.    
  151.    IsLoaded = False
  152.    
  153.    pnl_Version = Format(2.51, "#.00")
  154.    
  155.    Call sub_Check_Project
  156.  
  157.    Call sub_Load_Combo(cmb_Group, T2WDirInst + "_group.t2w")
  158.    
  159.    Label4.Caption = "Register MC-STRING"
  160.    
  161.    IsLoaded = True
  162.    
  163. End Sub
  164.  
  165.  
  166. Private Sub MDIForm_QueryUnload(Cancel As Integer, UnloadMode As Integer)
  167.  
  168.    MsgBox "Thank you for registering MCSTR-32.DLL", , "MCSTR-32.DLL demo"
  169.    
  170. End Sub
  171.  
  172. Private Sub MDIForm_Resize()
  173.    
  174.    If (Me.WindowState = 0) Then Me.WindowState = 2
  175.    
  176. End Sub
  177.  
  178.  
  179.  
  180.  
  181. Private Sub mnu_Exit_Click()
  182.  
  183.    Unload Me
  184.  
  185. End Sub
  186.  
  187.  
  188.